package com.tuanzi.loan.business.entity.family;

import com.tuanzi.loan.core.entity.AuditEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;

/**
 * @author caiwanlin
 * @create 2019-01-16 17:12
 */
@Data
@Entity
@Table(name = "loan_product_many_head_info")
@EqualsAndHashCode(callSuper = true)
public class ProductManyHeadInfo extends AuditEntity {
    private static final long serialVersionUID = -8949089120272539157L;
    @Id
    @Column(name = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "activity_id")
    private Long activityId;

    @Column(name = "other_count")
    private Integer otherCount;

    @Column(name = "org_count")
    private Integer orgCount;

    @Column(name = "queried_detail_org_count")
    private Integer queriedDetailOrgCount;

    @Column(name = "apply_loan_cnt_15d")
    private Integer applyLoanCnt15d;

    @Column(name = "apply_loan_cnt_30d")
    private Integer applyLoanCnt30d;

    @Column(name = "apply_loan_cnt_90d")
    private Integer applyLoanCnt90d;

    @Column(name = "apply_loan_cnt_180d")
    private Integer applyLoanCnt180d;

    @Column(name = "loan_org_cnt_all")
    private Integer loanOrgCntAll;

    @Column(name = "loan_org_cnt")
    private Integer loanOrgCnt;

    @Column(name = "loan_cnt")
    private Integer loanCnt;

    @Column(name = "loan_org_cnt_15d")
    private Integer loanOrgCnt15d;

    @Column(name = "loan_org_cnt_30d")
    private Integer loanOrgCnt30d;

    @Column(name = "loan_org_cnt_90d")
    private Integer loanOrgCnt90d;

    @Column(name = "loan_org_cnt_180d")
    private Integer loanOrgCnt180d;

    @Column(name = "loan_cnt_15d")
    private Integer loanCnt15d;

    @Column(name = "loan_cnt_30d")
    private Integer loanCnt30d;

    @Column(name = "loan_cnt_90d")
    private Integer loanCnt90d;

    @Column(name = "loan_cnt_180d")
    private Integer loanCnt180d;



}
